<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>form.html</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

	<script type="text/javascript">
		/*
		var isCommitted = false;
		function dosubmit()
		{
			if(isCommitted==false){
				isCommitted = true;
				return true;
			}else{
				return false;
			}
				
		}
		*/
		function dosubmit(){
			var submit = document.getElementById("submit");
			submit.disabled= "disabled";
			return true;
		
		}
		
	
	</script>


  </head>
  
  <body>
    
    
    
    
    <form action="/day07/servlet/FormServlet" method="post" onsubmit="return dosubmit()">
    	用户名：<input type="text" name="username">
    	<input type="submit" value="提交" id="submit">
    </form>
    
  </body>
</html>
